package com.easy.service;

import com.easy.bean.Department;
import com.easy.mapper.DepartmentDao;
import com.easy.util.Page;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface DepartmentService {
    Department add(Department department);
    int del(Integer id);
    Department edit(Department department);
    List<Department> all(String name, String description);
    Department one(Integer id);
    void page(Page page, Department department);

}
